--
--   Title: Nishan SNTP Configuration MIB
--   Description: 
--   This MIB contains management objects for Nishan SNTP configuration. 
--   This MIB is supported on IPS Series 3000, 4000 and 5000 switches.
--   Version 1.0
--
--  Revision history:
--
--  05/06/03: initial version released.
--  05/08/03: Incorporate review comments.

NISHAN-SNTP DEFINITIONS ::= BEGIN

IMPORTS
     MODULE-IDENTITY,
     OBJECT-TYPE
          FROM SNMPv2-SMI
     InetAddress,
     InetAddressType
         FROM INET-ADDRESS-MIB
     nishan
          FROM NISHAN-SMI;

idbNishanSNTP     MODULE-IDENTITY
      LAST-UPDATED     "0305060000Z"
      ORGANIZATION     "Nishan Systems, Inc"
      CONTACT-INFO     "Nishan Systems, Inc
             Attn: Network Management
                3850 North First Street
                San Jose, CA 95134
                USA
                Tel : +1 408 519-3700
                email : snmp@nishansystems.com"
     DESCRIPTION  "The private MIB for Nishan SNTP configuration"
     REVISION     "0305060000Z"
     DESCRIPTION
                 "Initial public release of this MIB module"
    ::=  {  nishan 23  }


-- =======================================================================
-- SNTP Configuration
-- =======================================================================


sntpAdminStatus                 OBJECT-TYPE
        SYNTAX          INTEGER {enable(1), disable(2)}
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION     "{disable}   
This field is used to enable/disable the admin status of SNTP protocol." 
        ::= { idbNishanSNTP 1 }

sntpRole                        OBJECT-TYPE
        SYNTAX          INTEGER { client(1), server(2) }
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION     "{ client }
Specifies whether the SNTP protocol is configured as a client SNTP or as a 
server SNTP. Client SNTP will synchronize it's clock to that of a Server.
User must first disable SNTP (by setting the Admin status to disable) before
changing SNTP roles."
        ::= {idbNishanSNTP 2}

sntpServerIpAddressType    OBJECT-TYPE
    SYNTAX                 InetAddressType
    MAX-ACCESS             read-write
    STATUS                 current
    DESCRIPTION
"The type of Inet address in sntpServerIpAddress."
        ::= { idbNishanSNTP 3 }

sntpServerIpAddress     OBJECT-TYPE
        SYNTAX          InetAddress
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION     "{ 0 }
The IP address of the SNTP Server. When the switch is configured as a SNTP server,
This value has no meaning."
        ::= { idbNishanSNTP 4 }

sntpTimeZone            OBJECT-TYPE
        SYNTAX          INTEGER (-720..840)
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION     "{ 0 }
Specifies the timezone where the switch resides in. 
The timezone is represented in minutes with respect to GMT (0)."
        ::= { idbNishanSNTP 5 }

sntpDaylightSavingsTime OBJECT-TYPE
        SYNTAX          INTEGER {enable(1), disable(2)}
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION     "{ disable }
Specifies whether the Daylight Savings time is observed or not. Value of disable(1) specifies that
daylight savings time is not observed."  
        ::= { idbNishanSNTP 6 }

sntpClientState         OBJECT-TYPE
        SYNTAX          INTEGER { operational(1), error(2) }
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION     "{ operational }
Specifies the operational state of the Client SNTP. Value of Error indicates that client 
encountered an operational error, such as not being able to contact Server."  
        ::= { idbNishanSNTP 7 }


END